/*
 * Copyright (c) 2000, 2017 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0, which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the
 * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
 * version 2 with the GNU Classpath Exception, which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
 */

package com.sun.messaging.jmq.jmsserver.license;

import java.io.*;
import java.util.*;
import com.sun.messaging.jmq.jmsserver.util.BrokerException;

/**
 * This is a generated license class file.
 */
public class L0 extends LicenseBase {
    private static byte[] data = { -52, -103, 118, -124, -57, -92, 110, 122, -65, -84, -86, -71, -90, -93, -103, -96, -101, -109, -102, -104, -89, 117, 127,
            109, -97, -117, -117, -119, 126, -85, 74, 68, 62, 127, 70, 59, 70, 67, 55, 60, 64, 49, 44, 54, 54, 41, 47, 44, 28, 25, 78, 21, 21, 16, 30, 119, 22,
            16, 10, 75, 18, 7, 18, 15, 3, 8, 12, 1, 6, 40, -17, -17, -22, -8, 81, -11, -10, -31, -18, -14, -36, -39, -39, -32, -39, -34, 6, -13, -16, -17, -10,
            47, -50, -56, -62, 3, -62, -52, -95, -54, -59, -89, -89, -74, -70, -95, -68, -74, -98, -99, -108, -97, -46, -37, -38, -43, -48, -47, -53, -50, -55,
            -55, -60, -17, -107, -103, -99, -61, -103, -115, 114, -117, -113, 120, -107, -111, 112, 104, -117, -113, 103, 102, 100, 77, -110, -101, -102, -107,
            -112, -111, -117, -114, -119, -119, -124, -81, 66, 62, 69, -125, 55, 58, 60, 51, 66, 71, 51, 58, 79, 36, 68, 57, 105, 32, 73, 64, -123, 61, 30, 24,
            90, 57, 21, 53, 54, 17, 22, 51, 9, 6, 20, 16, 12, 2, 17, -11, -11, -16, -2, 87, -10, -16, -22, 42, -14, -25, -14, -17, -29, -24, -20, -42, -44, -39,
            17, -51, -51, -56, -42, 54, -50, -56, -62, -10, -54, -65, -54, -57, -69, -64, -60, -69, -66, -76, -81, -86, -95, -80, -95, -44, -101, -101, -106,
            -92, -4, -100, -106, -112, -47, -104, -115, -104, -107, -119, -114, -110, -118, -116, -120, 119, 124, -90, 109, 109, 104, 118, -36, 110, 104, 98,
            -93, 106, 95, 106, 103, 91, 96, 100, 89, 75, 73, 75, 124, 67, 67, 62, 76, -91, 68, 62, 56, 121, 64, 53, 64, 61, 49, 54, 58, 36, 45, 50, 31, 42, 41,
            44, 22, 18, 35, 70, 13, 13, 8, 22, 111, 14, 8, 2, 67, 10, -1, 10, 7, -5, 0, 4, -12, -16, -17, -14, -27, -24, -29, -22, -29, -24, 16, -41, -41, -46,
            -32, 57, -40, -46, -52, 13, -44, -55, -44, -47, -59, -54, -50, -84, -60, -60, -87, -88, -94, -70, -70, -98, -36, -101, -107, -93, -97, 5, -102,
            -112, -97, -39, -106, -100, -107, -109, -102, -120, -112, -95, -106, -124, 126, -109, -110, 122, 121, 119, 120, -90, 108, 108, 103, -109, -49, 109,
            103, 105, -93, 66, 74, 109, 101, 97, 96, 93, 64, 91, 87, 107, -120, -121, -123, -125, -127, -91, 59, 63, 67, 92, 55, 64, 55, 52, 62, 55, 49, 53, 62,
            30, 30, 27, 55, 25, 75, 19, 19, 14, 55, 117, 20, 14, 8, 92, 8, 18, -7, 16, 12, 8, -11, -2, -17, -2, 2, -4, -18, -19, -26, 9, 42, 41, 12, 16, 6, 10,
            10, 8, 0, 0, 56, -42, -48, -54, -6, -46, -57, -46, -49, -61, -56, -52, -56, -78, -63, -70, -83, -64, -70, -72, -74, -38, -95, -95, -100, -86, 2,
            -94, -100, -106, -41, -98, -109, -98, -101, -113, -108, -104, -110, -121, -120, -118, 125, 117, 119, 124, 117, 122, -94, 105, 105, 100, 114, -38,
            111, 108, 92, 106, 89, 96, 87, 81, 90, 82, 81, -128, 95, -103, 100, 64, 69, -111, 104, 65, 74, 54, 52, 63, 58, 46, 55, 117, 39, 44, 110, 117, 70,
            44, 28, 26, 42, 34, 34, 101, 50, 12, 26, 8, 22, 89, 72, 85, 36, 1, 10, -1, 75, 28, 2, -14, -16, 0, -8, -8, 59, 8, -30, -16, -34, -20, 47, 25, 29,
            21, 61, -36, -42, -48, 17, -48, -38, -76, -40, -45, -46, -50, -60, -91, -96, -54, -60, -91, -92, -99, -30, -21, -22, -27, -32, -31, -37, -34, -39,
            -39, -44, -1, -107, -99, -95, -45, -100, -103, -113, -107, -98, -127, -107, -124, 120, -107, 120, 117, -103, 117, 116, -92, -85, -81, -89, -71, 118,
            -110, -125, -57, 101, 95, 76, -101, 97, 73, 105, 94, 66, 87, 91, 92, 65, 56, 109, 68, 66, 69, 58, -97, 51, 61, 65, 103, 47, 62, 49, 44, 60, 53, 41,
            61, 28, 55, 50, 26, 52, 12, 47, 51, 16, 16, 11, 7, 18, 2, 0, 8, 0, -1, 53, -11, -11, -16, -2, 58, -10, -16, -22, 42, -15, -20, -25, -20, -16, -41,
            -26, -41, -44, -36, -44, -45, 13, -2, 58, };

    public L0() throws BrokerException {
        super();

        try {
            byte[] plain = FileLicense.scramble(data);
            ByteArrayInputStream bais = new ByteArrayInputStream(plain);
            Properties tmp = new Properties();
            tmp.load(bais);
            superimpose(tmp);
        } catch (Exception e) {
            throw new BrokerException("Bad license.", e);
        }
    }

    @Override
    public boolean isLicenseFileRequired() {
        return false;
    }

    public static void main(String args[]) throws Exception {
        L0 l = new L0();
        System.out.println(l.getProperties());
    }
}

/*
 * EOF
 */
